package org.linlinjava.litemall.admin.beans.vo;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * 退款详情vo
 * @author lilu
 *
 */
@Data
public class RefundDetailVo {
	private Integer id;
	//退款编号
    private String refundSn;
	//订单编号
	private String orderSn;
    //用户名称
    private String userName;
	//商品金额
    private BigDecimal goodsPrice;
    //退款商品的税费
    private BigDecimal taxPrice;
    //退款总额 = 退款商品的总金额 + 退款商品的税费
    private BigDecimal price;
    //实际退款总额 (现金支付时为四舍五入的金额，其他支付方式为退款总额)
    private BigDecimal actualPrice;
    //退款方式(1:现金支付,2:礼物卡支付,3:Paypal支付,4:余额支付,5:Clover支付)  
    private Byte refundType;
    //退款状态(1:退款中,2:退款失败,3:退款成功)
    private Byte refundState;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime addTime;
    //处理门店
    private String refundShopName;
    //操作员
    private String operationName;
   
    private List<RefundGoodsVo> goodsLs;
}
